package com.atguigu.realtime.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class KeywordStats {
    //统计开始时间 yyyy-MM-dd HH:mm:ss
    private String stt;
    //统计结束时间
    private String edt;
    private String keyword;
    private String source;
    private Long ct;
    private Long ts;
    
}

/*

  " date_format(tumble_start(et, interval '5' second), 'yyyy-MM-dd HH:mm:ss') stt, " +
                                        " date_format(tumble_end(et, interval '5' second), 'yyyy-MM-dd HH:mm:ss') edt, " +
                                        " word keyword, " +
                                        " 'search' source, " +
                                        " count(*) ct, " +
                                        " unix_timestamp() *1000 ts " +
 */